package com.talkingdata.hadoop.guard.bean;

public class ClusterAlias {
    private int id ;
    private String hdfsClusterId;
    private String yarnClusterId;
    private String alias;

    @Override
    public String toString() {
        return "ClusterAlias{" +
                "id=" + id +
                ", hdfsClusterId='" + hdfsClusterId + '\'' +
                ", yarnClusterId='" + yarnClusterId + '\'' +
                ", alias='" + alias + '\'' +
                '}';
    }

    public ClusterAlias(String hdfsClusterId, String yarnClusterId, String alias) {
        this.hdfsClusterId = hdfsClusterId;
        this.yarnClusterId = yarnClusterId;
        this.alias = alias;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getHdfsClusterId() {
        return hdfsClusterId;
    }

    public void setHdfsClusterId(String hdfsClusterId) {
        this.hdfsClusterId = hdfsClusterId;
    }

    public String getYarnClusterId() {
        return yarnClusterId;
    }

    public void setYarnClusterId(String yarnClusterId) {
        this.yarnClusterId = yarnClusterId;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public ClusterAlias(int id, String hdfsClusterId, String yarnClusterId, String alias) {
        this.id = id;
        this.hdfsClusterId = hdfsClusterId;
        this.yarnClusterId = yarnClusterId;
        this.alias = alias;
    }
}
